import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

//引入小仓库
import user from './user'
import singer from './singer'


//用Vuex实例化一个store仓库并对外暴露
export default new Vuex.Store({
  modules:{
    user,singer
  }
})